using System;
using System.Collections.Generic;
using System.Text;

namespace TrainTicket.VO
{
    public class Ticket
    {
        private int _ticketNo;
        private DateTime _date;
        private int  _listTrainID;
        private int _customerID;
        private int _accountID;
        private string _numberSeat;
        private int _promoteID;
        private int _ticketReturnID;
        private float _totalFees;
        private string _status;

        public int ListTrainID
        {
            get { return _listTrainID; }
            set { _listTrainID = value; }
        }
	
        public int TicketReturnID
        {
            get { return _ticketReturnID; }
            set { _ticketReturnID = value; }
        }

        public int PromoteID
        {
            get { return _promoteID; }
            set { _promoteID = value; }
        }

        public DateTime Date
        {
            get { return _date; }
            set { _date = value; }
        }

        public string Status
        {
            get { return _status; }
            set { _status = value; }
        }


        public float TotalFees
        {
            get { return _totalFees; }
            set { _totalFees = value; }
        }



        public string NumberSeat
        {
            get { return _numberSeat; }
            set { _numberSeat = value; }
        }

        public int AccountID
        {
            get { return _accountID; }
            set { _accountID = value; }
        }
	

        public int CustomerID
        {
            get { return _customerID; }
            set { _customerID = value; }
        }
	

        public int TicketNo
        {
            get { return _ticketNo; }
            set { _ticketNo = value; }
        }

        public Ticket()
        { 
            
        }

        public Ticket(int ticketNo, DateTime date, int listTrainID, int customerID, int accountID, string numberSeat, int promoteID, int ticketReturnID, float totalFrees, string status)
        {
            _ticketNo = ticketNo;
            _date = date;
            _listTrainID = listTrainID;
            _customerID = customerID;
            _accountID = accountID;
            _numberSeat = numberSeat;
            _promoteID = promoteID;
            _ticketReturnID = ticketReturnID;
            _totalFees = totalFrees;
            _status = status;
        }

    }
}
